﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace UI.hetongguanli
{
    public partial class zjht : Form
    {
        public zjht()
        {
            InitializeComponent();
        }

        private void skinButton1_Click(object sender, EventArgs e)
        {
            if (skinDateTimePicker1.Text==""||skinDateTimePicker1.Text==null||textbox_hid.Text == "" || textbox_hid.Text == null || textbox_uid.Text == "" || textbox_uid == null)
            {
                MessageBox.Show("您有什么有没有输入！");
                return;
            }
            int uid = Convert.ToInt32(textbox_uid.Text);
            string detail= textbox_hid.Text;
            String time = skinDateTimePicker1.Text;
            Model.Htgl ht=new Model.Htgl();
            ht.Uid=uid;
            ht.Detail = detail;
            ht.Time=time;
            DAL.UserServer.addHt(ht);

        }
    }
}
